//
//  MBSpaceHeaderView.h
//  mibaotu
//
//  Created by admin on 16/9/14.
//  Copyright © 2016年 pegnk. All rights reserved.
//  首页-表格头部视图

#import <UIKit/UIKit.h>

@class MBSpaceHeaderView;
@protocol MBSpaceHeaderViewDelegate <NSObject>

@optional
- (void)onSelectItemForLoginWithView:(MBSpaceHeaderView *)view;      //立即登录
- (void)onselectItemForUserWithView:(MBSpaceHeaderView *)view;      //个人页面
- (void)onSelectITemForDowningWithView:(MBSpaceHeaderView *)view;   //正在下载
- (void)onSelectITemForDownedWithView:(MBSpaceHeaderView *)view;    //已下载
- (void)onSelectITemForUsedWithView:(MBSpaceHeaderView *)view;      //最近使用

@end

@interface MBSpaceHeaderView : UIView

@property (nonatomic,assign)id<MBSpaceHeaderViewDelegate>delegate;

@property (nonatomic,assign) BOOL                        text;
@property (nonatomic,assign)UIDeviceOrientation     orientation;
@property (nonatomic,strong)NSString                *downingMusic;
@property (nonatomic,strong)NSString                *downedMusic;
@property (nonatomic,strong)NSString                *playedMusic;

@end
